package com.cloudkinto.service.company.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class InventoryChangeListReq extends TemuPublicParam{
    @ApiModelProperty(value = "服务商 code", required = true)
    private String cwProviderCode;
    @ApiModelProperty(value = "服务商名称", required = true)
    private String cwProviderName ;
    @ApiModelProperty(value = "对接仓仓库商品 skuCode", required = true)
    private String cwSkuCode;
    @ApiModelProperty(value = "对接仓仓库的货主 code", required = true)
    private String cwCustomCode;
    @ApiModelProperty(value = "对接仓仓库仓库的授权 key", required = false)
    private String cwAppKey;
    @ApiModelProperty(value = "对接仓仓库仓库的授权 token", required = true)
    private String cwAccessToken;
    @ApiModelProperty(value = "平台,默认 Temu", required = true)
    private String platform;
    @ApiModelProperty(value = "对接仓仓库编码", required = true)
    private String cwWarehouseCode;

    @ApiModelProperty(value = "起始时间 秒级时间戳", required = true)
    private Integer startTime;
    @ApiModelProperty(value = "截至时间", required = true)
    private Integer endTime;
    @ApiModelProperty(value = "页码", required = true)
    private Integer pageNo = 1;
    @ApiModelProperty(value = "每页显示条数", required = true)
    private Integer pageSize = 100;




    public Integer getPageSize() {
        if (pageSize >= 2000) {
            return 2000;
        }
        return pageSize;
    }
}
